class RealInfo {
  String floorNo;
  double lat;
  double lng;
  String sn;

  RealInfo({this.floorNo, this.lat, this.lng, this.sn});

  factory RealInfo.fromJson(Map<String, dynamic> json) {
    return RealInfo(
      floorNo: json['floorNo'],
      lat: json['lat'],
      lng: json['lng'],
      sn: json['sn'],
    );
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['floorNo'] = this.floorNo;
    data['lat'] = this.lat;
    data['lng'] = this.lng;
    data['sn'] = this.sn;
    return data;
  }

  @override
  String toString() {
    return '{"floorNo":"$floorNo","lat":$lat,"lng":$lng,"sn":"$sn"}';
  }
}
